﻿using Lamex.Base;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lamex.mIE.Calculate
{
    public class LGC_UNT_LABOR
    {
        public static double LGC_UNT_LABOR_VALUE(string Feature_Name, string Feature_Value)
        {
            double result_Val = 0;
            DataTable dtTemp = BaseBuildSql.GetDataTableBySql(" select LABOR_TIME from IE_Feature_ValueOption_Labor where FEATURE_NAME='" + Feature_Name + "' and FEAT_VALUE_OPTION='" + Feature_Value + "'");
            if (dtTemp.Rows.Count > 0)
                result_Val = Convert.ToDouble(dtTemp.Rows[0]["LABOR_TIME"]);
            return result_Val;
        }
    }
}
